package com.jinyuanchun.learnjava.service.impl;

import com.jinyuanchun.learnjava.dao.UserDao;
import com.jinyuanchun.learnjava.mapper.UserMapper;
import com.jinyuanchun.learnjava.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public UserDao findByUid(String uid) {
        UserDao userDao = userMapper.findByUid(uid);
        return userDao;
    }
}
